import {
  post,
  get,
  put,
  dalete,
  postJosn,
  putone,
  patch
} from '../utils/request';

// 看板表头数据
export function getPageHead(data) {
  return post('/api/data-service/v1/dashboard/pageHead', data);
}

// 云币，酒币产生top 榜单
export function getBonusCityTopList(data) {
  return post('/api/data-service/v1/dashboard/bonusCityTopList', data);
}

// 门店成交金额 top 榜单
export function getOrderMoneyStoreTopList(data) {
  return post('/api/data-service/v1/dashboard/orderMoneyStoreTopList', data);
}

// 大区成交金额 top 榜单
export function getOrderMoneyZoneTopList(data) {
  return post('/api/data-service/v1/dashboard/orderMoneyZoneTopList', data);
}

// 云店月度成交金额
export function getOrderMoneyMonthList(data) {
  return post('/api/data-service/v1/dashboard/orderMoneyMonthList', data);
}

// 会员分布比例
export function getMemberGradeDistributionList(data) {
  return post('/api/data-service/v1/dashboard/memberGradeDistributionList', data);
}

// 订单商品分布比例
export function getOrderGoodsDistribution(data) {
  return post('/api/data-service/v1/dashboard/orderGoodsDistribution', data);
}

// 标准商品分布饼图
export function getOrderStandardGoodsDistribution(data) {
  return post('/api/data-service/v1/dashboard/orderStandardGoodsDistribution', data);
}
